import request from '@/utils/request'
import URL from '@/api/baseUrl'
export default class MaritimeAdministrationPayable {
    /**
     * 查询列表
     */
    static list(data = {}) {
        return request.get(`${URL.ocean}/ocean-order-fees-payable/list`, data)
    }
    /**
     * 查询详情
     */
    static getInfo(id) {
        return request.get(`${URL.ocean}/ocean-order-fees-payable/getInfo/${id}`)
    }
    /**
     * 删除
     */
    static remove(ids) {
        return request.delete(`${URL.ocean}/ocean-order-fees-payable/remove`, ids)
    }
    /**
     * 新增
     */
    static add(data = {}) {
        return request.post(`${URL.ocean}/ocean-order-fees-payable/add`, data)
    }
    /**
     * 修改
     */
    static edit(data = {}) {
        return request.put(`${URL.ocean}/ocean-order-fees-payable/edit`, data)
    }

    static batchSaveOrUpdate(data = {}) {
        return request.post(`${URL.ocean}/ocean-order-fees-payable/batchSaveOrUpdate`, data)
    }
}
